import request from '@/utils/request';

import { BASE_URL } from '@/config/query';

export async function queryBrandList(params) {
  return request(`${BASE_URL}/brand/list`, params)
}

export async function queryProductNum(id) {
  return request(`${BASE_URL}/product/list`, {
    brandId: id
  })
}
